#!/bin/bash

echo "Rolling back database migrations..."

# Rollback migration for users table
go run main.go rollback:user

# Rollback migration for products table
go run main.go rollback:product

echo "Database migrations rolled back."